package kr.hkit.powerjava.chapter05;

public class 정수타입 {
	public static void main(String[] args){
		System.out.println("byte : " + Byte.MIN_VALUE + "~" + Byte.MAX_VALUE);
		System.out.println("short : " + Short.MIN_VALUE + "~" + Short.MAX_VALUE);
		System.out.println("int : " + Integer.MIN_VALUE + "~ " + Integer.MAX_VALUE);
		System.out.println("long :" + Long.MIN_VALUE +"~"+Long.MAX_VALUE);
		
		System.out.println("float : " + Float.MIN_VALUE + "~" + Float.MAX_VALUE);
		System.out.println("double : " + Double.MIN_VALUE + "~" + Double.MAX_VALUE);
		
		int x=10;
		int y= ++x;
		int z = y++;
		
		System.out.println(x);
		System.out.println(y);
		System.out.println(z);
		
		System.out.println(5+19%3);
		
		byte test;
		test = (byte) 300;
		System.out.println("test : " + test);
		
		int a =10;
		int b = 2;
		int c = 2;
		
		c = ++a/2;
		System.out.println(c);
		a *= b+1;
		System.out.println(a);
		
		char c1= 'a';
		
		
	}
}
